package cn.qyd.concurrentcollection;

import com.google.common.collect.Sets;
import org.checkerframework.checker.units.qual.C;

import java.util.Set;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.ConcurrentMap;
import java.util.concurrent.ConcurrentSkipListMap;
import java.util.concurrent.ConcurrentSkipListSet;
import java.util.function.Consumer;

/**
 * @author 邱运铎
 * @date 2024-03-21 16:51
 */
public class ConcurrentHashMapDemo {
    public static void main(String[] args) {
        ConcurrentMap<String,Integer> map = new ConcurrentHashMap<>();
        ConcurrentSkipListMap map1 = new ConcurrentSkipListMap();
        ConcurrentSkipListSet set = new ConcurrentSkipListSet();
        Set skipListSet = Sets.newConcurrentHashSet();
    }
}
